package edu.sctu.wangxiaoqiang.day20150526.projectone;

import java.util.HashMap;

/**
 * Created by user25 on 2015/5/26.
 */
public class Data {

    private String name;
    private String sex;
    private String age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }


    public String putMap(int num1){
        HashMap<Integer,String> mapone = new HashMap<>();
        for(int i=0;i<num1;i++){
            mapone.put(i,"张三"+i);
        }
        return mapone.get(2);
    }
}
